package com.gtn.exam.title.persistence.connection.base;

import org.hibernate.Session;

/**
 * The factory Interface which provides the DB configuration support 
 * 
 * @author Rukshan Silva | 13th August 2014
 * @version 1.0.0
 */
public interface BaseFactory {

	/**
	 * Initializes the DB Connection
	 */
	public void initConnection();
	
	/**
	 * Starts the new DB Connection
	 */
	public Session beginTransaction();
}